Part Number Hot Search : 
1377G2 40110 200BQ 40110 2SC388 045984 805SH UFR3150R
Product Description
Full Text Search
 

To Download IS82C52Z Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 (R)
82C52
Data Sheet April 26, 2006 FN2950.3
CMOS Serial Controller Interface
The Intersil 82C52 is a high performance programmable Universal Asynchronous Receiver/Transmitter (UART) and Baud Rate Generator (BRG) on a single chip. Utilizing the Intersil advanced Scaled SAJI IV CMOS process, the 82C52 will support data rates up to 1M baud asynchronously with a 16X clock (16MHz clock frequency). The on-chip Baud Rate Generator can be programmed for any one of 72 different baud rates using a single industry standard crystal or external frequency source. A unique pre-scale divide circuit has been designed to provide standard RS-232-C baud rates when using any one of three industry standard crystals (1.8432MHz, 2.4576MHz, or 3.072MHz). A programmable buffered clock output (CO) is available and can be programmed to provide either a buffered oscillator or 16X baud rate clock for general purpose system usage.
Features
* Single Chip UART/BRG * DC to 16MHz (1M Baud) Operation * Crystal or External Clock Input * On-Chip Baud Rate Generator - 72 Selectable Baud Rates * Interrupt Mode with Mask Capability * Microprocessor Bus Oriented Interface * 80C86 Compatible * Single +5V Power Supply * Low Power Operation . . . . . . . . . . . . . . . . . . . . 1mA/MHz Typ * Modem Interface * Line Break Generation and Detection * Operating Temperature Range: - C82C52 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0C to +70C - I82C52. . . . . . . . . . . . . . . . . . . . . . . . . . . . . -40C to +85C - M82C52. . . . . . . . . . . . . . . . . . . . . . . . . . . -55C to +125C * Pb-Free Plus Anneal Available (RoHS Compliant)
Ordering Information
1M BAUD CP82C52 CP82C52Z (Note) IP82C52 CS82C5296 CS82C52Z* (Note) IS82C52 IS82C52Z* (Note) ID82C52 MD82C52/B 8501501XA MR82C52/B 85015013A 85015013A PART MARKING CP82C52 CP82C52Z IP82C52 CS82C52 CS82C52Z IS82C52 IS82C52Z ID82C52 MD82C52/B 8501501XA -55 to +125 TEMP RANGE (C) 0 to +70 0 to +70 -40 to +85 0 to +70 0to +70 -40 to +85 -40 to +85 -40 to +85 -55 to +125 SMD# CLCC SMD# PACKAGE PDIP PDIP (Pb-Free)** PDIP PLCC (Tape & Reel) PLCC (Pb-Free) PLCC PLCC (Pb-Free) CERDIP PKG. DWG. # E28.6 E28.6 E28.6 N28.45 N28.45 N28.45 N28.45 F28.6 F28.6 F28.6 J28.A J28.A
*Add "96" suffix for tape and reel. **Pb-free PDIPs can be used for through hole wave solder processing only. They are not intended for use in Reflow solder processing applications. NOTE: Intersil Pb-free plus anneal products employ special Pb-free material sets; molding compounds/die attach materials and 100% matte tin plate termination finish, which are RoHS compliant and compatible with both SnPb and Pb-free soldering operations. Intersil Pb-free products are MSL classified at Pb-free peak reflow temperatures that meet or exceed the Pb-free requirements of IPC/JEDEC J STD-020.
1
CAUTION: These devices are sensitive to electrostatic discharge; follow proper IC Handling Procedures. 1-888-INTERSIL or 1-888-468-3774 | Intersil (and design) is a registered trademark of Intersil Americas Inc. Copyright Intersil Americas Inc. 1997, 2002, 2006. All Rights Reserved All other trademarks mentioned are the property of their respective owners.
82C52 Pinouts
82C52 (PDIP, CERDIP) TOP VIEW
D1 RD 1 WR 2 D0 3 D1 4 D2 5 D3 6 D4 7 D5 8 D6 9 D7 10 A0 11 A1 12 IX 13 OX 14 28 CSO 27 VCC 26 DR 25 SDI 24 INTR 23 RST 22 TBRE 21 CO 20 RTS 19 DTR 18 DSR 17 CTS 16 GND 15 SDO D6 D7 A0 9 10 11 12 A1 13
IX
82C52 (PLCC, CLCC) TOP VIEW
CSO
WR
VCC 27
4 D2 D3 D4 D5 5 6 7 8
3
2
1
28
26 25 24 23 22 21 20 19 SDI INTR RST
TBRE
DR
RD
D0
CO RTS DTR
14 OX
15 SDO
16 GND
17
CTS
18 DSR 22 26
Block Diagram
3 - 10 D0-D7 DATA BUS BUFFER UART CONTROL AND STATUS REGISTERS INTERNAL DATA BUS
TBRE DR
RD WR A0 A1 CSO IX OX CO
1 2 11 12 28 13 14 21
READ/WRITE CONTROL LOGIC
TRANSMITTER BUFFER REGISTER
TRANSMITTER REGISTER P S
15
SDO
PROGRAMMABLE BOUD RATE GENERATOR
RST INTR
23 24 CONTROL LOGIC
RECEIVER BUFFER REGISTER
RECEIVER REGISTER P S
25
SDI
18 MODEM CONTROL AND STATUS REGISTERS 17 19 20
DSR CTS DTR RTS
2
FN2950.3 April 26, 2006
82C52 Pin Description
SYMBOL RD WR D0-D7 PIN NO. 1 2 3-10 TYPE I I I/O ACTIVE LEVEL Low Low High DESCRIPTION READ: The RD input causes the 82C52 to output data to the data bus (D0-D7). The data output depends upon the state of the address inputs (A0-A1). CS0 enables the RD input. WRITE: The WR input causes data from the data bus (D0-D7) to be input to the 82C52. Addressing and chip select action is the same as for read operations. DATA BITS 0-7: The Data Bus provides eight, three-state input/output lines for the transfer of data, control and status information between the 82C52 and the CPU. For character formats of less than 8 bits, the corresponding D7, D6 and D5 are considered "don't cares" for data WRITE operations and are 0 for data READ operations. These lines are normally in a high impedance state except during read operations. D0 is the Least Significant Bit (LSB) and is the first serial data bit to be received or transmitted. ADDRESS INPUTS: The address lines select the various internal registers during CPU bus operations. CRYSTAL/CLOCK: Crystal connections for the internal Baud Rate Generator. IX can also be used as an external clock input in which case OX should be left open. High SERIAL DATA OUTPUT: Serial data output from the 82C52 transmitter circuitry. A Mark (1) is a logic one (high) and Space (0) is logic zero (low). SD0 is held in the Mark condition when CTS is false, when RST is true, when the Transmitter Register is empty, or when in the Loop Mode. GROUND: Power supply ground connection. CLEAR TO SEND: The logical state of the CTS line is reflected in the CTS bit of the Modem Status Register. Any change of state in CTS causes INTR to be set true when INTEN and MIEN are true. A false level on CTS will inhibit transmission of data on the SD0 output and will hold SD0 in the Mark (high) state. If CTS goes false during transmission, the current character being transmitted will be completed. CTS does not affect Loop Mode operation. DATA SET READY: The logical state of the DSR line is reflected in the Modem Status Register. Any change of state of DSR will cause INTR to be set if INTEN and MIEN are true. The state of this signal does not affect any other circuitry within the 82C52. DATA TERMINAL READY: The DTR signal can be set (low) by writing a logic 1 to the appropriate bit in the Modem Control Register (MCR). This signal is cleared (high) by writing a logic 0 in the DTR bit in the MCR or whenever a reset (RST = high) is applied to the 82C52. REQUEST TO SEND: The RTS signal can be set (low) by writing a logic 1 to the appropriate bit in the MCR. This signal is cleared (high) by writing a logic 0 to the RTS bit in the MCR or whenever a reset (RST = high) is applied to the 82C52. CLOCK OUT: This output is user programmable to provide either a buffered IX output or a buffered Baud Rate Generator (16X) clock output. The buffered IX (Crystal or external clock source) output is provided when the Baud Rate Select Register (BRSR) bit 7 is set to a zero. Writing a logic one to BRSR bit 7 causes the CO output to provide a buffered version of the internal Baud Rate Generator clock which operates at sixteen times the programmed baud rate. On reset D7 (CO select) is reset to 0. High TRANSMITTER BUFFER REGISTER EMPTY: The TBRE output is set (high) whenever the Transmitter Buffer Register (TBR) has transferred its data to the Transmit Register. Application of a reset (RST) to the 82C52 will also set the TBRE output. TBRE is cleared (low) whenever data is written to the TBR. RESET: The RST input forces the 82C52 into an "Idle" mode in which all serial data activities are suspended. The Modem Control Register (MCR) along with its associated outputs are cleared. The UART Status Register (USR) is cleared except for the TBRE and TC bits, which are set. The 82C52 remains in an "Idle" state until programmed to resume serial data activities. The RST input is a Schmitt triggered input. INTERRUPT REQUEST: The INTR output is enabled by the INTEN bit in the Modem Control Register (MCR). The MIEN bit selectively enables modem status changes to provide an input to the INTR logic. Figure 9 in Design Information shows the overall relationship of these interrupt control signals.
A0, A1 IX, OX SDO
11, 12 13, 14 15
I I/O O
High
GND CTS
16 17 I
Low Low
DSR
18
I
Low
DTR
19
O
Low
RTS
20
O
Low
CO
21
O
TBRE
22
O
RST
23
I
High
INTR
24
O
High
3
FN2950.3 April 26, 2006
82C52 Pin Description
SYMBOL SDI PIN NO. 25 (Continued) ACTIVE LEVEL High DESCRIPTION SERIAL DATA INPUT: Serial data input to the 82C52 receiver circuits. A Mark (1) is high, and a Space (0) is low. Data inputs on SDI are disabled when operating in the loop mode or when RST is true. DATA READY: A true level indicates that a character has been received, transferred to the RBR, and is ready for transfer to the CPU. DR is reset on a data READ of the Receiver Buffer Register (RBR) or when RST is true. VCC: +5V positive power supply pin. A 0.1F decoupling capacitor from VCC (Pin 27) to GND (Pin 16) is recommended. CHIP SELECT: The chip select input acts as an enable signal for the RD and WR input signals.
TYPE I
DR
26
O
High
VCC CS0
27 28 I
High Low
4
FN2950.3 April 26, 2006
82C52
Reset During and after power-up, the 82C52 Reset Input (RST) must be held high for at least two IX clock cycles in order to initialize and drive the 82C52 circuits to an idle mode until proper programming can be done. A high on RST causes the following events to occur * Resets the internal Baud Rate Generator (BRG) circuit clock counters and bit counters. The Baud Rate Select Register (BRSR) is not affected (except for bit 7 which is reset to 0). * Clears the UART Status Register (USR) except for Transmission Complete (TC) and Transmit Buffer Register Empty (TBRE) which are set. The Modem Control Register (MCR) is also cleared. All of the discrete lines, memory elements and miscellaneous logic associated with these register bits are also cleared or turned off. Note that the UART Control Register (UCR) is not affected. Following removal of the reset condition (RST = low), the 82C52 remains in the idle mode until programmed to its desired system configuration. Programming The 82C52 The complete functional definition of the 82C52 is programmed by the systems software. A set of control words (UCR, BRSR and MCR) must be sent out by the CPU to initialize the 82C52 to support the desired communication format. These control words will program the character length, number of stop bits, even/odd/no parity, baud rate, etc. Once programmed, the 82C52 is ready to perform its communication functions. The control registers can be written to in any order. However, the MCR should be written to last because it controls the interrupt enables, modem control outputs and the receiver enable bit. Once the 82C52 is programmed and operational, these registers can be updated any time the 82C52 is not immediately transmitting or receiving data. Table 1. Shows the control signals required to access 82C52 internal registers. UART Control Register (UCR) The UCR is a write only register which configures the UART transmitter and receiver circuits. Data bits D7 and D6 are not used but should always be set to a logic zero (0) in order to insure software compatibility with future product upgrades. During the Echo Mode, the transmitter always repeats the received word and parity, even when the UCR is programmed with different or no parity. See Figure 1.
Word Length Select
TABLE 1. CS0 0 0 0 0 0 0 0 0 A1 0 0 0 0 1 1 1 1 A0 0 0 1 1 0 0 1 1 WR 0 1 0 1 0 1 0 1 RD 1 0 1 0 1 0 1 0 OPERATION Data Bus Transmitter Buffer Register (TBR) Receiver Buffer Register (RBR) Data Bus Data Bus UART Control Register (UCR) UART Status Register (USR) Data Bus Data Bus Modem Control Register (MCR) MCR Data Bus Data Bus Bit Rate Select Register (BRSR) Modem Status Register (MSR) Data Bus
D7 D6 D5 D4 D3 D2 D1 D0 Stop Bit Select 0 = 1 Stop Bits 1 = 1.5 Stop Bits (Tx) and 1 Stop Bit (Rx) If 5 Data Bits Selected 1 = 2 Stop Bits for 6, 7 or 8 Data Bits Selected 000 = Tx and Rx Even 001 = Tx and Rx Odd 010 = Tx Even, Rx Odd 011 = Tx Odd, Rx Even 100 = Tx Even, Rx Check Disabled 101 = Tx Odd, Rx Check Disabled 11X = Generation and Check Disabled 00 = 5 Bits 01 = 6 Bits 10 = 7 Bits 11 = 8 Bits
Parity Control
Reserved Set to 00 for Future Product Upgrade Compatibility
FIGURE 1. UCR
Baud Rate Select Register (BRSR) The 82C52 is designed to operate with a single crystal or external clock driving the IX input pin. The Baud Rate Select Register is used to select the divide ratio (one of 72) for the internal Baud Rate Generator circuitry. The internal circuitry is separated into two separate counters, a Prescaler and a Divisor Select. The Prescaler can be set to any one of four division rates, /1, /3, /4, or /5.
5
FN2950.3 April 26, 2006
82C52
The Prescaler design has been optimized to provide standard baud rates using any one of three popular crystal frequencies. By using one of these common system clock frequencies, 1.8432MHz, 2.4576MHz or 3.072MHz and Prescaler divide ratios of /3, /4, or /5 respectively, the Prescaler output will provide a constant 614.4KHz. When this frequency is further divided by the Divisor Select counter, any of the standard baud rates from 50 Baud to 38.4Kbaud can be selected (see Table 2). Non-standard baud rates up to 1Mbaud can be selected by using different input frequencies (crystal or an external frequency input up to 16MHz) and/or different Prescaler and Divisor Select ratios. Regardless of the baud rate, the baud rate generator provides a clock which is 16 times the desired baud rate. For example, in order to operate at a 1Mbaud data rate, a 16MHz crystal, a Prescale rate of /1, and a Divisor Select rate of "external" would be used. This would provide a 16MHz clock as the output of the Baud Rate Generator to the Transmitter and Receiver circuits. The CO select bit in the BRSR selects whether a buffered version of the external frequency input (IX input) or the Baud Rate Generator output (16x baud rate clock) will be output on the CO output (pin 21). The Baud Rate Generator output will always be a 50% nominal duty cycle except when "external" is selected and the Prescaler is set to /3 or /5.
D7 D6 D5 D4 D3 D2 D1 D0 Prescaler 00 = / 1 Select 01 = / 3 10 = / 4 11 = / 5 Divisor Select 00000 = / 2 00001 = / 4 00010 = / 16/3 00011 = / 8 00100 = / 32/3 00101 = / 16 00110 = / 58/3 00111 = / 22 01000 = / 32 01001 = / 64 01010 = / 128 01011 = / 192 01100 = / 256 01101 = / 288 01110 = / 352 01111 = / 512 10000 = / 768 11111 = External (/ 1) 0 = IX Output 1 = Brg Output (On Reset, D7 (CO Select) is Reset to 0)
TABLE 2. BAUD RATE 38.4K 19.2K 9600 7200 4800 3600 2400 2000 1800 1200 600 300 200 150 134.5 110 75 50 NOTE: DIVISOR External 2 4 16/3 8 32/3 16 58/3 22 32 64 128 192 256 288 352 512 768
These baud rates are based upon the following input frequency/ Prescale divisor combinations. 1.8432MHz and Prescale = / 3 2.4576MHz and Prescale = / 4 3.072MHZ and Prescale = / 5
All baud rates are exact except for: BAUD RATE 1800 2000 134.5 110 ACTUAL 1745.45 1986.2 133.33 109.09 PERCENT ERROR 3.03% 0.69% 0.87% 0.83%
Modem Control Register The MCR is a general purpose control register which can be written to and read from. The RTS and DTR outputs are directly controlled by their associated bits in this register. Note that a logic one asserts a true logic level (low) at these output pins. The Interrupt Enable (INTEN) bit is the overall control for the INTR output pin. When INTEN is false, INTR is held false (low). The Operating Mode bits configure the 82C52 into one of four possible modes. "Normal" configures the 82C52 for normal full or half duplex communications. "Transmit Break"' enables the transmitter to only transmit break characters (Start, Data and Stop bits all are logic zero). The Echo Mode causes any data that is received on the SDI input pin to be retransmitted on the SDO output pin. Note that this output is
FN2950.3 April 26, 2006
CO Select
FIGURE 2. BRSR
6
82C52
a buffered version of the data seen on the SDI input and is not a resynchronized output. Also note that normal UART transmission via the Transmitter Register is disabled when operating in the Echo mode (see Figure 4). The Loop Test Mode internally routes transmitted data to the receiver circuitry for the purpose of self test. The transmit data is disabled from the SDO output pin. The Receiver Enable bit gates off the input to the receiver circuitry when in the false state. Modem Interrupt Enable will permit any change in modem status line inputs (CTS, DSR) to cause an interrupt when this bit is enabled. Bit D7 must always be written to with a logic zero to insure correct 82C52 operation.
D7 D6 D5 D4 D3 D2 D1 D0 Request 0 = RTS Output High to Send 1 = RTS Output Low (RTS) Data 0 = DTR Output High Terminal 1 = DTR Output Low Ready (DTR) Interrupt 1 = Interrupts Enabled Enable 0 = interrupts Disabled (INTEN) Mode Select 00 = Normal 01 = Transmit Break 10 = Echo Mode 11 = Loop Test Mode
UART Status Register (USR) The USR provides a single register that the controlling sys tem can examine to determine if errors have occurred or if other status changes in the 82C52 require attention. For this reason, the USR is usually the first register read by the CPU to determine the cause of an interrupt or to poll the status of the 82C52. Three error flags OE, FE and PE report the status of any error conditions detected in the receiver circuitry. These error flags are updated with every character received during reception of the stop bits. The Overrun Error (OE) indicates that a character in the Receiver Register has been received and cannot be transferred to the Receiver Buffer Register (RBR) because the RBR was not read by the CPU. Framing Error (FE) indicates that the last character received in the RBR contained improper stop bits. This could be caused by the absence of the required stop bit(s) or by a stop bit(s) that was too short to be properly detected. Parity Error (PE) indicates that the last character received in the RBR contained a parity error based on the programmed parity of the receiver and the calculated parity of the received character data and parity bits. The Received Break (RBRK) status bit indicates that the last character received was a break character. A break character would be considered to be an invalid data character in that the entire character including parity and stop bits are a logic zero. The Modem Status bit is set whenever a transition is detected on any of the Modem input lines (CTS or DSR). A subsequent read of the Modem Status Register will show the state of these two signals. Assertion of this bit will cause an interrupt (INTR) to be generated if the MIEN and INTEN bits in the MCR register are enabled. The Transmission Complete (TC) bit indicates that both the TBR and Transmitter Registers are empty and the 82C52 has completed transmission of the last character it was commanded to transmit. The assertion of this bit will cause an interrupt (INTR) if the INTEN bit in the MCR register is true. The Transmitter Buffer Register Empty (TBRE) bit indicates that the TBR register is empty and ready to receive another character.
Receiver 0 = Not Enabled Enable 1 = Enabled (REN) Modem 0 = Not Enabled Interrupt 1 = Enabled Enable (MIEN) Must be Set to a Logic 0 for Normal 82C52 Operation
See Modem Status Register description for a description of register flag images with respect to output pins. FIGURE 3. MCR
SERIAL DATA FROM TRANSMITTER REGISTER ECHO MODE LOOP MODE SERIAL DATA TO RECEIVER REGISTER SDI PIN 25 SDO PIN 15
The Data Ready (DR) bit indicates that the RBR has been loaded with a received character (including Break) and that the CPU may access this data. Assertion of the TBRE or DR bits do not affect the INTR logic and associated INTR output pin since the 82C52 has been designed to provide separate requests via the DR and TBRE output pins. If a single interrupt for any status change in the 82C52 is desired this can be accomplished by using an 82C59A Interrupt controller with DR, TBRE, and INTR as inputs. (See Figure 11).
FN2950.3 April 26, 2006
FIGURE 4. LOOP AND ECHO MODE FUNCTIONALITY
7
82C52
D7 D6 D5 D4 D3 D2 D1 D0 Parity Error (PE) Framing Error (FE) Overrun Error (OE) 0 = No Error 1 = Error 0 = No Error 1 = Error 0 = No Error 1 = Error D7 D6 D5 D4 D3 D2 D1 D0 Clear to Send (CTS) 0 = False 1 = Truer
Data Set Ready 0 = False (DSR) 1 = True 0 0 Undefined
Received Break 0 = No Break (RBRK) 1 = Break Modem Status (MS) 0 = No Status Change 1 = Status Change 0 = Not Complete 1 = Complete 0 = Not Empty 1 = Empty
FIGURE 6. MSR
Transmission Complete (TC) Transmitter Buffer Register Empty (TBRE) Data Ready (DR)
Receiver Buffer Register (RBR) The receiver circuitry in the 82C52 is programmable for 5, 6, 7 or 8 data bits per character. For words of less than 8 bits, the data is right justified to the Least Significant Bit (LSB = D0). Bit D0 of a data word is always the first data bit received. The unused bits in a less than 8-bit word, at the parallel interface, are set to a logic zero (0) by the 82C52. Received data at the SDI input pin is shifted into the Receiver Register by an internal 1x clock which has been synchronized to the incoming data based on the position of the start bit. When a complete character has been shifted into the Receiver Register, the assembled data bits are parallel loaded into the Receiver Buffer Register. Both the DR output pin and DR flag in the USR register are set. This double buffering of the received data permits continuous reception of data without losing any of the received data. While the Receiver Register is shifting a new character into the 82C52, the Receiver Buffer Register is holding a previously received character for the system CPU to read. Failure to read the data in the RBR before complete reception of the next character can result in the loss of the data in the Receiver Register. The OE flag in the USR register indicates the overrun condition.
D7 D6 D5 D4 D3 D2 D1 D0 Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7 5-Bit Word 6-Bit Word 7-Bit Word
0 = Not Ready 1 = Ready
FIGURE 5. USR
Modem Status Register (MSR) The MSR allows the CPU to read the modem signal inputs by accessing the data bus interface of the 82C52. Like all of the register images of external pins in the 82C52, true logic levels are represented by a high (1) signal level. By following this consistent definition, the system software need not be concerned with whether external signals are high or low true. In particular, the modem signal inputs are low true, thus a 0 (true assertion) at a modem input pin is represented by a 1 (true) in the MSR. Any change of state in any modem input signals will set the Modem Status (MS) bit in the USR register. When this happens, an interrupt (INTR) will be generated if the MIEN and INTEN bits of the MCR are enabled. The Data Set Ready (DSR) input is a status indicator from the modem to the 82C52 which indicates that the modem is ready to provide received data to the 82C52 receiver circuitry. Clear to Send (CTS) is both a status and control signal from the modem that tells the 82C52 that the modem is ready to receive transmit data from the 82C52 transmitter output (SDO). A high (false) level on this input will inhibit the 82C52 from beginning transmission and if asserted in the middle of a transmission will only permit the 82C52 to finish transmission of the current character.
8-Bit Word
FIGURE 7. RBR
Transmitter Buffer Register (TBR) The Transmitter Buffer Register (TBR) accepts parallel data from the data bus (D0-D7) and holds it until the Transmitter Register is empty and ready to accept a new character for 8
FN2950.3 April 26, 2006
82C52
transmission. The transmitter always has the same word length and number of stop bits as the receiver. For words of less than 8 bits the unused bits at the microprocessor data bus are ignored by the transmitter.
D7 D6 D5 D4 D3 D2 D1 D0 Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7 5-Bit Word 6-Bit Word 7-Bit Word RBRK, TC OE, FE, PE (USR) RD (USR) DSR, CTS (MSR) RD (MSR) POS. OR NEG. EDGE DETECT MIEN (MCR) POS. EDGE DETECT INTEN (MCR)
generated during a READ operation, the status bit is not set until the trailing edge of the RD pulse. If the bit was already set at the time of the READ operation, and the same status condition occurs, that status bit will be cleared at the trailing edge of the RD pulse instead of being set again.
INTR PIN 24
8-Bit Word
FIGURE 9. 82C52 INTERRUPT STRUCTURE
Software Reset A software reset of the 82C52 is a useful method for returning to a completely known state without exercising a complete system reset. Such a reset would consist of writing to the UCR, BRSR and MCR registers. The USR and RBR registers should be read prior to enabling interrupts in order to clear out any residual data or status bits which may be invalid for subsequent operation. Crystal Operation The 82C52 crystal oscillator circuitry is designed to operate with a fundamental mode, parallel resonant crystal. This circuit is the same one used in the Intersil 82C84A clock generator/driver. To summarize, Table 3 and Figure 10 show the required crystal parameters and crystal circuit configuration respectively. When using an external clock source, the IX input is driven and the OX output is left open. Power consumption when using an external clock is typically 50% of that required when using a crystal. This is due to the sinusoidal nature of the drive circuitry when using a crystal.
TABLE 3. PARAMETER Frequency Type of Operation Load Capacitance (CL) RSERIES(Max) TYPICAL CRYSTAL SPECIFICATION 1.0 to 16MHz Parallel Resonant, Fundamental Mode 20 or 32pF (Typ) 100 (f = 16MHz, CL = 32pF) 200 (f = 16MHz, CL = 20pF)
FIGURE 8. TBR
Bit 0, which corresponds to D0 at the data bus, is always the first serial data bit transmitted. Provision is made for the transmitter parity to be the same or different from the receiver. The TBRE output pin and flag (USR register) reflect the status of the TBR. The TC flag (USR register) indicates when both TBR and TR are empty. 82C52 Interrupt Structure The 82C52 has provisions for software masking of interrupts generated for the INTR output pin. Two control bits in the MCR register, MIEN and INTEN, control modem status interrupts and overall 82C52 interrupts respectively. Figure 9 illustrates the logical control function provided by these signals. The modem status inputs (DSR and CTS) will trigger the edge detection circuitry with any change of status. Reading the MSR register will clear the detect circuit but has no effect on the status bits themselves. These status bits always reflect the state of the input pins regardless of the mask control signals. Note that the state (high or low) of the status bits are inverted versions of the actual input pins. The edge detection circuits for the USR register signals will trigger only for a positive edge (true assertion) of these status bits. Reading the USR register not only clears the edge detect circuit but also clears (sets to 0) all of the status bits. The output pins associated with these status bits are not affected by reading the USR register. A hardware reset of the 82C52 sets the TC status bit in the USR. When interrupts are subsequently enabled an interrupt can occur due to the fact that the positive edge detection circuitry in the interrupt logic has detected the setting of the TC bit. If this interrupt is not desired the USR should be read prior to enabling interrupts. This action resets the positive edge detection circuitry in the interrupt control logic (Figure 9).
NOTE: For USR and MSR, the setting of status bits is inhibited during status register READ operations. If a status condition is
9
FN2950.3 April 26, 2006
82C52
C1 (NOTE) GND
IX 82C52 OX
C2 (NOTE)
NOTE: C1 = C2 = 20pF For CL = 20pF C1 = C2 = 47pF For CL = 32pF FIGURE 10.
82C52 - 80C86 Interfacing The following example (Figure 11) shows the interface for an 82C52 in an 80C86 system. Use of the Intersil CMOS Interrupt Controller (82C59A) is optional and necessary only if an interrupt driven system is desired.
By using the Intersil CMOS 82C84A clock generator, the system can be built with a single crystal providing both the processor clock and the clock for the 82C52. The 82C52 has special divider circuitry which is designed to supply industry standard baud rates with a 2.4576MHz input frequency. Using a 15MHz crystal as shown, results in less than a 2% frequency error which is adequate for many applications. For more precise baud rate requirements, a 14.7456MHz crystal will drive the 80C86 at 4.9MHz and provide the 82C52 with the standard baud rate input frequency of 2.4576MHz. If baud rates above 156Kbaud are desired, the OSC output can be used instead of the PCLK (/6) output for asynchronous baud rates up to 1Mbaud.
CHIP SELECT AD0, AD7 ADDRESS BUS 82C88 (MAX MODE) INT CLK X1 15MHz X2 CLK PCLK OSC INTA 5MHz 2.5MHz 15MHz INT IRX 82C59A INTA IORD IOWR 3 2
CSO D0-D7 SDO A0, A1 RD WR 82C52 SDI SERIAL DATA
80C86 OR 80C88
INTR, DR, TBRE IX
82C84A OR 82C85
FIGURE 11. 80C86/82C52 INTERFACE
10
FN2950.3 April 26, 2006
82C52
Absolute Maximum Ratings
Supply Voltage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +8.0V Input, Output or I/O Voltage . . . . . . . . . . . . GND-0.5V to VCC +0.5V ESD Classification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Class 1
Thermal Information
Thermal Resistance (Typical, Note 1)
JA (C/W) JC (C/W)
Operating Conditions
Operating Voltage Range . . . . . . . . . . . . . . . . . . . . . +4.5V to +5.5V Operating Temperature Range C82C52 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 0C to +70C I82C52 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .-40C to +85C M82C52 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .-55C to +125C
CERDIP Package . . . . . . . . . . . . . . . . 45 8.4 CLCC Package . . . . . . . . . . . . . . . . . . 60 14 PDIP Package . . . . . . . . . . . . . . . . . . . 55 N/A PLCC Package . . . . . . . . . . . . . . . . . . 46 N/A Maximum Junction Temperature Ceramic Package. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +175C Plastic Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +150C Maximum Storage Temperature Range . . . . . . . . . -65C to +150C Maximum Lead Temperature (Soldering 10s) . . . . . . . . . . . . +300C (Lead Tips Only For Surface Mount Packages)
Die Characteristics
Gate Count . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1500 Gates
CAUTION: Stresses above those listed in "Absolute Maximum Ratings" may cause permanent damage to the device. This is a stress only rating and operation of the device at these or any other conditions above those indicated in the operational sections of this specification is not implied.
NOTE: 1. JA is measured with the component mounted on an evaluation PC board in free air.
DC Electrical Specifications VCC = 5.0V 10%, TA = 0C to +70C (C82C52), TA = -40C to +85C (l82C52)
TA = -55C to +125C (M82C52) SYMBOL VIH PARAMETER Logical One Input Voltage MIN 2.0 2.2 VIL VTH VTL VIH (CLK) VlL (CLK) VOH Logical Zero Input Voltage Schmitt Trigger Logic One Input Voltage Schmitt Trigger Logic Zero Input Voltage Logical One Clock Input Voltage Logical Zero Clock Input Voltage Output High Voltage VCC -0.5 VCC -0.5 3.0 VCC -0.4 VOL II IO ICCOP Output Low Voltage Input Leakage Current Input/Output Leakage Current Operating Power Supply Current (Note 1) Standby Supply Current -1.0 -10.0 MAX 0.8 GND +0.5 GND +0.5 0.4 +1.0 +10.0 4 UNITS V V V V V V V V V V A A mA Reset Input Reset Input External Clock External Clock IOH = -2.5mA, Except OX IOH = -100A, For OX - IOH = -1.0mA lOL = +2.5mA VIN = GND or VCC, DIP Pins 1, 2, 11, 12, 17, 18, 23, 25, 28 VO = GND or VCC, DIP Pins 3-10 External Clock F = 2.4576MHz, VCC = 5.5V, VIN = VCC or GND, Outputs Open VCC = 5.5V, VIN = VCC or GND, Outputs Open TEST CONDITIONS I82C52, C82C52 M82C52
ICCSB NOTE:
-
100
A
1. Guaranteed and sampled, but not 100% tested. ICCOP is typically 1.5mA/MHz.
Capacitance TA = 25C
SYMBOL CIN COUT CI/O PARAMETER Input Capacitance Output Capacitance I/O Capacitance TYPICAL 12 15 15 UNITS pF pF pF TEST CONDITIONS FREQ = 1MHz, all measurements are referenced to device GND
11
FN2950.3 April 26, 2006
82C52
AC Electrical Specifications VCC = 5.0V 10%, TA = 0C to +70C (C82C52), TA = -40C to +85C (l82C52)
TA = -55C to +125C (M82C52)
Timing Requirements and Responses
SYMBOL (1) (2) (3) TSVCTL TCTHSX TCTLCTH PARAMETER Select Setup to Control Leading Edge Select Hold from Control Trailing Edge Control Pulse Width MIN 30 50 150 MAX UNITS ns ns ns Control Consists of RD or WR TEST CONDITIONS
(4) (5) (6) (7) (8) (9)
TCTHCTL TRLDV TRHDZ TDVWH TWHDX FC
Control Disable to Control Enable Read Low to Data Valid Read Disable Data Setup Time Data Hold Time Clock Frequency
190 0 50 20 0
120 60 16
ns ns ns ns ns MHz TCHCL + TCLCH must be 62.5ns 1, See AC Test Circuit 2, See AC Test Circuit
(10) (11) (12)
TCHCL TCLCH TR/TF
Clock High Time Clock Low Time IX Input Rise/Fall Time (External Clock)
25 25 -
tx
ns ns ns 1 tx ----------- or 50ns 6FC Whichever is smaller CL = 50pf CL = 50pf
(13) (14)
TFCO TRCO
Clock Output Fall Time Clock Output Rise Time
-
15 15
ns ns
AC Testing Input, Output Waveforms
INPUT VIH + 0.4V 1.5V VIL - 0.4V 1.5V VOL OUTPUT VOH OUTPUT
90% 10%
FIGURE 12. PROPAGATION DELAY
FIGURE 13. ENABLE/DISABLE DELAY
AC TESTING: All input signals (except IX and RST) must switch between VIL -0.4V and VIH +0.4V. Input rise and fall times are driven at 1ns/V.
12
FN2950.3 April 26, 2006
82C52 Timing Waveform
NEXT BUS CYCLE CS0, A0, A1 (1) TSVCTL WR WRITE OPERATION D0-D7 (1) TSVCTL RD READ OPERATION D0-D7 (5) TRLDV (6) TRHDZ (3) TCTLCTH (7) TDVWH VALID (4) TCTHCTL (8) TWHDX SELECT VALID (3) TCTLCTH (2) TCTHSX
FIGURE 14. BUS OPERATION
AC Test Circuit
V1 R1 OUTPUT FROM DEVICE UNDER TEST TEST POINT CL R2
TEST CONDITION 1 2 Propagation Delay Disable Delay
V1 1.7V VCC
R1 520 5K
R2
CL 100pF 50pF
5K
13
FN2950.3 April 26, 2006
82C52 UART Timing Characterization
All parameters listed in this table were laboratory bench characterized at room temperature on a small sample of parts. No guarantee is implied. The main intent here is to clarify functional operation of the 82C52.
82C52 UART Timing Characterized with IX = External Clock
SYMBOL (15) TS1 PARAMETER CO(IX) Delay from IX MIN MAX 30 UNITS ns TEST CONDITIONS BRSR Bit D7 = 0 (IX Output) BRSR Bit D7 = 1 (BRG Output) BRSR Bit D7 = 1 (BRG Output), Note 1 Note 2 Note 3 Notes 3, 4 Note 5A, 5B Note 5
(16)
TS2
CO (BRG) Delay from IX
-
80
ns
(17)
TCY
CO (BRG) Clock Cycle Time
62.5
-
ns
(18) (19) (20) (21) (22) (23) (24) (25) (26) (27) NOTES:
TDTX TWLTL TCLTH TIHF TIHM TRLIL TCTHX TDRH TRLDL TWHO
SDO Delay from CO(BRG) Low WR Low to TBRE Low CO (BRG) Low to TBRE HIgh INTR High on Flag INTR High on MS RD Low to INTR Low CTS High to Disable Transmit CO (BRG) Low to DR High RD Low to DR Low WR High to RTS/DTR Active
4TCY + 10 -
30 50 50 50 50 60 40 50 50
ns ns ns ns ns ns ns ns ns ns
TBR Full, Note 6 Note 7 Note 7
1. Prescaler rate of divide by 1, Divisor Select rate of "external" (divide by 1). The Baud Rate Clock (CO-BRG) operates at 16 times the user programmed bit rate. For example, at 1200 baud: TCY = 1/(16 x 1200) = 52.1s. 2. A. With TR (Transmitter Register) initially empty, TDTX occurs from the 5th falling edge of CO(BRG) after WR goes high. B. With TR initially full, TDTX occurs from the trailing edge of the 16th CO(BRG) in the last Stop bit provided WR went high by the trailing edge of the 12th CO(BRG) in the last Stop bit. C. With CTS high (disable transmit) and TBR full, TDTX occurs from the 5th falling edge of CO(BRG) after CTS goes low. 3. TBRE bit D6 in USR is updated each time TBRE changes state. 4. A. With TR initially empty, TCLTH(TBRE) occurs from the 4th falling edge of CO(BRG) after WR goes high. B. With TR initially full, TCLTH(TBRE) occurs from the trailing edge of the 15th CO(BRG) in the last Stop bit provided WR went high by the trailing edge of the 12th CO(BRG) in the last Stop bit. C. With CTS high (disable transmit) and TBR full, TCLTH(TBRE) occurs from the 4th falling edge of CO(BRG) after CTS goes low. 5. A. INT on TC: INTEN enabled; USR bit D5(TC) is updated at this time regardless of interrupt configuration. - INT on TC occurs from the trailing edge of the 11th CO(BRG) in the last Stop bit if TBR empty at that time. B. INTR on receive flags OE, FE, PE, and RBRK: INTEN enabled; Respective USR bits updated at this time regardless of interrupt configuration. - INT on OE, FE, PE, RBRK occurs from the trailing edge of the 11th CO(BRG) in the last Stop bit. To avoid OE, RD(RBR) must go low by the trailing edge of the 8th CO(BRG) in the last Stop bit. C. INTR on MS: INTEN and MIEN enabled; USR bit D4(MS) is updated at this time regardless of INTEN/MIEN. - INTR on MS occurs whenever CTS or DSR input changes state. 6. TCTHX is time before end of last Stop bit by which CTS must be inactive (high) to prevent transmission of the character waiting in TBR. 7. DR bit D7 in USR is updated each time DR changes state. TDRH always from trailing edge of 11th CO(BRG) in last Stop bit.
14
FN2950.3 April 26, 2006
82C52 UART Timing Characterization
TCHCL (11)
IX (15) TS1 CO(IX) TCLCH (10)
(16) TS2 CO(BRG) TCY (17)
FIGURE 15. CLOCK (IX) AND CO TIMING
CO(BRG) 16 CO(BRG) PERIODS TDTX (18) TX DATA DATA BIT TDTX (18)
FIGURE 16. TRANSMITTER DATA
CO(BRG) 8 CO(BRG) PERIODS 16 CO(BRG) PERIODS
RX DATA
START BIT
DATA BIT
RX BAUD COUNTER STARTS HERE INTERNAL SAMPLE
FIGURE 17. RECEIVER DATA
15
FN2950.3 April 26, 2006
82C52 UART Timing Characterization
8/I CO(BRG) 9/I 10/I
(Continued)
11/I 12/I 13/I 14/I 15/I 16/I I/1 I/2 I/3
WR (19) TWLTL TBRE NOTE 1
(20) TCLTH NOTE 2
NOTE 3 SDO LAST STOP BIT / IDLE
(18) TDTX
IDLE / START BIT
RD (21) TIHF (23) TRLIL
INTR
11 CO(BRG)
12
13
14
15
16
1
2
(24) TCTHX NOTE 4 (20) TCLTH NOTE 5 TBRE NOTE 6 SDO LAST STOP BIT DISABLED IDLE START BIT (18) TDTX
CTS
FIGURE 18. TRANSMIT TIMING
16
FN2950.3 April 26, 2006
82C52 UART Timing Characterization
NOTES: 1. TBRE bit D6 in USR is updated each time TBRE changes state. 2. A. With TR initially empty, TCLTH(TBRE) occurs from the 4th falling edge of CO(BRG) after WR goes high. B. With TR initially full, TCLTH(TBRE) occurs from the trailing edge of the 15th CO(BRG) in the last Stop bit provided WR went high by the trailing edge of the 12th CO(BRG) in the last Stop bit. 3. A. With TR (Transmitter Register) initially empty, TDTX occurs from the 5th falling edge of CO(BRG) after WR goes high. B. With TR initially full, TDTX occurs from the trailing edge of the 16th CO(BRG) in the last Stop bit provided WR went high by the trailing edge of the 12th CO(BRG) in the last Stop bit. 4. TCTHX is time before end of last Stop bit by which CTS must be inactive (high) to prevent transmission of the character waiting in TBR. 5. With CTS high (disable transmit) and TBR full, TCLTH(TBRE) occurs from the 4th falling edge of CO(BRG) after CTS goes low. 6. With CTS high (disable transmit) and TBR full, TDTX occurs from the 5th falling edge of CO(BRG) after CTS goes low. (Continued)
11 CO(BRG)
12
13
14
15
16
1/I
2/I
3/I
SDI
LAST STOP BIT
START BIT / IDLE
RD RBR (25) TDRH DR NOTE 1 (21) TIHF NOTE 2 (23) TRLIL (26) TRLDL USR
INTR
FIGURE 19. RECEIVE TIMING
17
FN2950.3 April 26, 2006
82C52 UART Timing Characterization
WR MCR (27) TWHO
(Continued)
RTS/DTR
RD
MSR
DSR/CTS (22) TIHM INTR NOTE 3 (23) TRLIL
FIGURE 20. OTHER TIMING NOTES: 1. DR bit D7 in USR is updated each time DR changes state. TDRH always from trailing edge of 11th CO(BRG) in last Stop bit. 2. INTR on receive flags OE, FE, PE, and RBRK: INTEN enabled; Respective USR bits updated at this time regardless of interrupt configuration. - INT on OE, FE, PE, RBRK occurs from the trailing edge of the 11th CO(BRG) in the last Stop bit. To avoid OE, RD(RBR) must go low by the trailing edge of the 8th CO(BRG) in the last Stop bit. 3. INTR on MS: INTEN and MIEN enabled; USR bit D4(MS) is updated at this time regardless of INTEN/MIEN. - INTR on MS occurs whenever CTS or DSR input changes state.
18
FN2950.3 April 26, 2006
82C52 Burn-In Circuits
MD82C52 CERDIP
VCC Q3 GND Q4 Q5 Q6 Q7 Q8 Q7 Q8 Q1 Q2 F0 VCC/2 R1 R2 R2 R2 R2 R2 R2 R2 R2 R2 R2 R2 R2 R1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 28 27 26 25 24 23 22 21 20 19 18 17 16 15 R1 R1 R1 R1 GND VCC VCC/2 VCC VCC/2 A R1 R1 R1 R1 R1 VCC/2 VCC/2 VCC/2 VCC/2 VCC GND GND VCC/2 A R3 VCC C1 C2
MR82C52 CLCC
VCC Q4 GND Q3 R2 R2 R2 GND R1 C2 VCC R1
Q5 Q6 Q7 Q8 Q7 Q8 Q1
R2 5 R2 6 R2 7 R2 8 R2 9 R2 R2 10 11
4
3
2
1
28
27
26 25 24 23
R1 R1
VCC VCC/2 A
R1 22 R1 21 R1 20 R1 19 12 R2 13 R2 14 R1 15 R1 16 17 18 R1
VCC/2 VCC/2 VCC/2 VCC/2 A R3 VCC C1
Q2
F0
VCC/2
GND
VCC
NOTES: 1. VCC = 5.5V 0.5V GND = 0V 2. VIH = 4.5V 10% VIL = -0.2V to +0.4V 3. Component Values: R1 = 1.2K, 1/4W, 5% R2 = 47K, 1/4W, 5% R3 = 10K, 1/4W, 5% C1 = 1.0F nominal C2 = 0.01F minimum F0 = 100KHz 10%, F1 = F0/2, F2 = F1/2 . . . F12 = F11/2
19
FN2950.3 April 26, 2006
82C52 Die Characteristics
DIE DIMENSIONS: 178.7 x 187.0 x 19 1mils METALLIZATION: Type: Silicon - Aluminum Thickness: 11kA 2kA GLASSIVATION: Type: Nitrox Thickness: 10kA WORST CASE CURRENT DENSITY: 2.07 x 104 A/cm2
Metallization Mask Layout
82C52
D0 WR RD CSO VCC DR
D1 SD1 D2 INTR
D3 RST D4
TBRE D5
D6
CO
RTS D7
A0
DTR
A1 IX OX SDO GND CTS
DSR
All Intersil U.S. products are manufactured, assembled and tested utilizing ISO9000 quality systems. Intersil Corporation's quality certifications can be viewed at www.intersil.com/design/quality
Intersil products are sold by description only. Intersil Corporation reserves the right to make changes in circuit design, software and/or specifications at any time without notice. Accordingly, the reader is cautioned to verify that data sheets are current before placing orders. Information furnished by Intersil is believed to be accurate and reliable. However, no responsibility is assumed by Intersil or its subsidiaries for its use; nor for any infringements of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of Intersil or its subsidiaries.
For information regarding Intersil Corporation and its products, see www.intersil.com 20
FN2950.3 April 26, 2006


▲Up To Search▲   

 
Price & Availability of IS82C52Z

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X